package com.chonry.web2.utils;

import org.springframework.data.repository.NoRepositoryBean;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;
import java.util.Map;

@NoRepositoryBean
public interface MyMapper<T> extends Mapper<T>, MySqlMapper<T> {

    int selectCountForPage(Map<String, Object> params) ;
    List<Map<String, Object>> selectForPage(Map<String, Object> params) ;
    List<String> queryForExport(Map<String, Object> params) ;
}
